package ldk.easytouch.example;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;

import ldk.easytouch.example.activity.OriginActivity;
import ldk.easytouch.helper.InstrumentHelper;
import ldk.easytouch.utils.ETLog;

public class MainService extends Service{
    @SuppressWarnings("unused")
    private static final String TAG = "MainService";
    @Nullable
    @Override
    public IBinder onBind(Intent intent) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        InstrumentHelper.getInstance().init(getApplicationContext(), new OriginActivity());
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
        ETLog.v(TAG, "onStartCommand");
        return super.onStartCommand(intent, flags, startId);
    }
}
